{% include data.html %}
<table>
  <thead>
    <tr><th>PID</th><th>Device</th></tr>
  </thead>
  {% for pid in pids %}
    {% assign urlparts = pid.url|split:"/" %}
    {% if include.vid == urlparts[1] %}
      {% capture orgpath %}/org/{{pid.owner}}/{% endcapture %}
      {% assign org = orgs|where:"url",orgpath|first %}
      <tr>
        <th><a href="{{pid.url}}">{{urlparts[2]|upcase}}</a></th>
        <td>{{org.title|xml_escape}} {{pid.title|xml_escape}}</td>
      </tr>
    {% endif %}
  {% endfor %}
</table>
